/**
 * COPYRIGHT HangZhou 99Cloud Technology Company Limited
 * All right reserved.
 */
package com.alibaba.csp.sentinel.dashboard.rule.nacos;

/**
 * @Description
 * @Author 薛铁琪
 * @CreateTime 2021/8/31 10:48
 * @Version 1.0
 */
public final class NacosConfigUtil {

    public static final String GROUP_ID = "SENTINEL_GROUP";

    public static final String FLOW_DATA_ID_POSTFIX = "-flow-sentinel";
    public static final String DEGRADE_DATA_ID_POSTFIX = "-degrade-sentinel";
    public static final String PARAM_FLOW_DATA_ID_POSTFIX = "-param-flow-sentinel";
    public static final String SYS_DATA_ID_POSTFIX = "-system-sentinel";
    public static final String AUTH_DATA_ID_POSTFIX = "-auth-sentinel";

    public static final String GATEWAY_FLOW_DATA_ID_POSTFIX = "-gateway-flow";
    public static final String GATEWAY_API_DATA_ID_POSTFIX = "-gateway-api";
    public static final String CLUSTER_MAP_DATA_ID_POSTFIX = "-cluster-map";

    /**
     * cc for `cluster-client`
     */
    public static final String CLIENT_CONFIG_DATA_ID_POSTFIX = "-cc-config";
    /**
     * cs for `cluster-server`
     */
    public static final String SERVER_TRANSPORT_CONFIG_DATA_ID_POSTFIX = "-cs-transport-config";
    public static final String SERVER_FLOW_CONFIG_DATA_ID_POSTFIX = "-cs-flow-config";
    public static final String SERVER_NAMESPACE_SET_DATA_ID_POSTFIX = "-cs-namespace-set";

    private NacosConfigUtil() {}
}